package com.aaa.web.commons;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/*

二手车交易记录界面搜索框和分页所需
 */
@Data
public class SecondCarTransferRecordQuery extends Query {
    //原车主电话
    private String oldtelephone;
    //新车主电话
    private String newtelephone;
    //车出厂码
    private String carcode;
    //交易员工
    private String employeeid;
    //开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date begintime;
    //结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endtime;


    public SecondCarTransferRecordQuery(Integer page, Integer limit) {
        super(page, limit);
    }
}
